package com.cyy.common.pojo.query.system;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author caoyunyou
 */
@Data
@Schema(name = "SystemArticleVo")
public class SystemArticleVo implements Serializable {

    @Serial
    private static final long serialVersionUID = -3289859315950751418L;

    @Schema(description = "id")
    private Integer id;

    @Schema(description = "封面")
    private String cover;

    @Schema(description = "文章标题")
    private String title;

    @Schema(description = "文章简介")
    private String summary;

    @Schema(description = "作者")
    private String author;

    @Schema(description = "分类id")
    private Integer categoryId;

    @Schema(description = "标签列表")
    private String tags;

    @Schema(description = "是否发布(0否，1是)")
    private Integer isPush;

    @Schema(description = "是否顶置(0否，1是)")
    private Integer isTop;

    @Schema(description = "是否原创 (0原创，1转载)")
    private Integer isOriginal;

    @Schema(description = "转载地址")
    private String reproductionUrl;

    @Schema(description = "浏览量")
    private Integer viewCount;

    @Schema(description = "喜欢数")
    private Integer likeCount;

    @Schema(description = "收藏数")
    private Integer collectCount;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
